package model

// Tissue 组织架构
type Tissue struct {
	Current
	Pid    int    `json:"pid" gorm:"type:int;comment:'上级菜单'"`
	Code   string `json:"code" gorm:"type:varchar(100);comment:'组织代码'"`
	Name   string `json:"name" gorm:"type:varchar(100);comment:'规则名称'"`
	Status string `json:"status" gorm:"type:enum('1','0');comment:'状态:0=禁用,1=启用'"`
	Qrcode string `json:"qrcode"`
}

func (Tissue) TableName() string {
	return "tissue"
}
